package com.vedana.bankmobile.dao;

import java.util.List;

import com.vedana.bankmobile.shared.Customer;

/**
 * DAO interface to customers
 * @author Didier MOISE
 *
 */
public interface CustomerDao {
	/**
	 * Add a new customer
	 * @param customer Customer object
	 */
	void addCustomer(Customer customer);
	
	/**
	 * List customers for a user
	 * @param userId User id
	 * @return List of customers the user have access to.
	 */
	List<Customer>listCustomers(String userId);
}
